package com.guigu.dispatch.utils;

/**
 * @ClassName:XxlJobHttpURL
 * @Description://TODO
 * @Author:taoLong
 * @Date:2021/11/19:15:08 星期五
 * @email:2391611102@qq.com or 2391611102qq@gmail.com
 */
public interface XxlJobHttpURL {
    /**
     * url地址前缀
     */
    public static final String XXL_PREFIX = "http://127.0.0.1:8899/xxl-job-admin";
    /**
     * 登录
     */
    public static final String XXL_LOGIN = XXL_PREFIX + "/login";
    /**
     * 添加
     */
    public static final String XXL_ADD = XXL_PREFIX + "/jobinfo/add";
    /**
     * 删除
     */
    public static final String XXL_DELETE = XXL_PREFIX + "/jobinfo/remove";
    /**
     * 修改
     */
    public static final String XXL_UPDATE = XXL_PREFIX + "/jobinfo/update";
    /**
     * 停止
     */
    public static final String XXL_STOP = XXL_PREFIX + "/jobinfo/stop";
    /**
     * 获取任务信息
     */
    public static final String XXL_GETINFO = XXL_PREFIX + "/jobinfo/";

    /**
     * 启动
     */
    public static final String XXL_START = XXL_PREFIX + "/jobinfo/start";

    /**
     * 获取任务日记
     */
    public static final String XXL_LOG_INFO = XXL_PREFIX + "/joblog/pageList";
}
